namespace Mondial2014.Migrations
{
    using System;
    using System.Data.Entity.Migrations;
    
    public partial class GamblerScores : DbMigration
    {
        public override void Up()
        {
            //AddColumn("dbo.Gamblers", "GroupsStageScore", c => c.Int(nullable: false));
            AddColumn("dbo.Gamblers", "KnockoutStageScore", c => c.Int(nullable: false));
            //DropColumn("dbo.Gamblers", "Score");

            RenameColumn("dbo.Gamblers", "Score", "GroupsStageScore");
        }
        
        public override void Down()
        {
            //AddColumn("dbo.Gamblers", "Score", c => c.Int(nullable: false));
            DropColumn("dbo.Gamblers", "KnockoutStageScore");
            //DropColumn("dbo.Gamblers", "GroupsStageScore");

            RenameColumn("dbo.Gamblers", "GroupsStageScore", "Score");
        }
    }
}
